[PLUG] How do I talk to it

Chuck Hast wchast at gmail.com
Mon Jun 11 04:01:10 UTC 2018


On closer inspection I see that both of these are removed when the device is
disconnected:
Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.185219] sd 9:0:0:0: Attached
scsi generic sg2 type 0
Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.191102] sd 9:0:0:0: [sdb]
Attached SCSI removable disk

So should my link be to /dev/sdb
or
/dev/sg2
??


On Sun, Jun 10, 2018 at 10:56 PM, Chuck Hast <wchast at gmail.com> wrote:

> Chee, I missed that one... Well now to give it a try, but I am getting too
> sleepy,
> so better wait until tomorrow.
>
> On Sun, Jun 10, 2018 at 9:08 PM, Russell Senior <russell at personaltelco.net
> > wrote:
>
>> dmesg says /dev/sdb
>>
>> df or mount will only show it if it has been mounted.
>>
>> On Sun, Jun 10, 2018 at 6:20 PM, Chuck Hast <wchast at gmail.com> wrote:
>>
>> > That was the second option after looking in /dev. I figured it would
>> show
>> > up in
>> > one of those places but no joy.
>> > Here is what I see from the df command
>> >
>> > Pre-USB connection:
>> > kp4djt at kp4djt-t420:/dev$ df
>> > Filesystem     1K-blocks      Used Available Use% Mounted on
>> > udev             3952548         0   3952548   0% /dev
>> > tmpfs             794616      9544    785072   2% /run
>> > /dev/sda1      472559888 168056020 280476172  38% /
>> > tmpfs            3973072     28056   3945016   1% /dev/shm
>> > tmpfs               5120         8      5112   1% /run/lock
>> > tmpfs            3973072         0   3973072   0% /sys/fs/cgroup
>> > tmpfs             794616        40    794576   1% /run/user/1000
>> > kp4djt at kp4djt-t420:/dev$
>> >
>> > Post connection:
>> >
>> > kp4djt at kp4djt-t420:/dev$ df
>> > Filesystem     1K-blocks      Used Available Use% Mounted on
>> > udev             3952548         0   3952548   0% /dev
>> > tmpfs             794616      9556    785060   2% /run
>> > /dev/sda1      472559888 168056024 280476168  38% /
>> > tmpfs            3973072     28056   3945016   1% /dev/shm
>> > tmpfs               5120         8      5112   1% /run/lock
>> > tmpfs            3973072         0   3973072   0% /sys/fs/cgroup
>> > tmpfs             794616        40    794576   1% /run/user/1000
>> > kp4djt at kp4djt-t420:/dev$
>> >
>> > As you can see there is no difference.
>> >
>> >
>> >
>> > On Sun, Jun 10, 2018 at 1:51 PM, Ken Stephens <
>> kennethgstephens at gmail.com>
>> > wrote:
>> >
>> > > The it will be a drive letter in dosdevices.  Do a df and see where
>> it is
>> > > mounted.  In a Fedora Distribution, it should be mounted in
>> > > /run/media/<user>/<label>.
>> > > Link that to a drive letter in dosdevices.
>> > >
>> > > Ken
>> > >
>> > > On Sun, Jun 10, 2018 at 11:18 AM Chuck Hast <wchast at gmail.com> wrote:
>> > >
>> > > > Ken,
>> > > > The first thing I did was look in /dev to see if it was there but no
>> > > joy. I
>> > > > see the
>> > > > device appear on my desktop as a ST MicroSD Flash, but I cannot find
>> > > where
>> > > > to setup a link to the thing.
>> > > >
>> > > > On Sun, Jun 10, 2018 at 11:02 AM, Ken Stephens <
>> > > kennethgstephens at gmail.com
>> > > > >
>> > > > wrote:
>> > > >
>> > > > > Chuck,
>> > > > >
>> > > > > You need to add a link to it in ~/.wine/dosdevices
>> > > > >
>> > > > > Ken
>> > > > >
>> > > > > On Sat, Jun 9, 2018 at 9:20 PM Chuck Hast <wchast at gmail.com>
>> wrote:
>> > > > >
>> > > > > > Folks, I have a radio that uses a USB link to an STMicro
>> device. It
>> > > > shows
>> > > > > > up on my laptop as an SDMicroSD Flash. I need a program that I
>> run
>> > in
>> > > > > > Wine to see it but cannot figure out how to make it visible to
>> the
>> > > > > program.
>> > > > > >
>> > > > > > Here is the trace from a console capture:
>> > > > > >  Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.086367] usb 1-1.1:
>> new
>> > > > > > full-speed USB device number 8 using ehci-pci
>> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181567] usb 1-1.1:
>> New
>> > USB
>> > > > > > device found, idVendor=0483, idProduct=5720
>> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181577] usb 1-1.1:
>> New
>> > USB
>> > > > > > device strings: Mfr=1, Product=2, SerialNumber=3
>> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181583] usb 1-1.1:
>> > > Product:
>> > > > > Mass
>> > > > > > Storage in FS Mode
>> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181588] usb 1-1.1:
>> > > > > Manufacturer:
>> > > > > > STMicroelectronics
>> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.181592] usb 1-1.1:
>> > > > > SerialNumber:
>> > > > > > 00000000001B
>> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.184059] usb-storage
>> > > > 1-1.1:1.0:
>> > > > > > USB Mass Storage device detected
>> > > > > > Jun  9 23:18:49 kp4djt-t420 kernel: [ 1135.184232] scsi host9:
>> > > > > usb-storage
>> > > > > > 1-1.1:1.0
>> > > > > > Jun  9 23:18:49 kp4djt-t420 mtp-probe: checking bus 1, device 8:
>> > > > > > "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1"
>> > > > > > Jun  9 23:18:49 kp4djt-t420 mtp-probe: bus: 1, device: 8 was
>> not an
>> > > MTP
>> > > > > > device
>> > > > > > Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.184189] scsi 9:0:0:0:
>> > > > > > Direct-Access     STM      microSD Flash    1.00 PQ: 0 ANSI: 2
>> > > > > > Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.185219] sd 9:0:0:0:
>> > > Attached
>> > > > > > scsi generic sg2 type 0
>> > > > > > Jun  9 23:18:50 kp4djt-t420 kernel: [ 1136.191102] sd 9:0:0:0:
>> > [sdb]
>> > > > > > Attached SCSI removable disk
>> > > > > >
>> > > > > > Any idea of how to make it visible in wine so I can load a code
>> > plug
>> > > > into
>> > > > > > the
>> > > > > > radio?
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > >
>> > > > > > Chuck Hast  -- KP4DJT --
>> > > > > > I can do all things through Christ which strengtheneth me.
>> > > > > > Ph 4:13 KJV
>> > > > > > Todo lo puedo en Cristo que me fortalece.
>> > > > > > Fil 4:13 RVR1960
>> > > > > > _______________________________________________
>> > > > > > PLUG mailing list
>> > > > > > PLUG at pdxlinux.org
>> > > > > > http://lists.pdxlinux.org/mailman/listinfo/plug
>> > > > > >
>> > > > > _______________________________________________
>> > > > > PLUG mailing list
>> > > > > PLUG at pdxlinux.org
>> > > > > http://lists.pdxlinux.org/mailman/listinfo/plug
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > >
>> > > > Chuck Hast  -- KP4DJT --
>> > > > I can do all things through Christ which strengtheneth me.
>> > > > Ph 4:13 KJV
>> > > > Todo lo puedo en Cristo que me fortalece.
>> > > > Fil 4:13 RVR1960
>> > > > _______________________________________________
>> > > > PLUG mailing list
>> > > > PLUG at pdxlinux.org
>> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
>> > > >
>> > > _______________________________________________
>> > > PLUG mailing list
>> > > PLUG at pdxlinux.org
>> > > http://lists.pdxlinux.org/mailman/listinfo/plug
>> > >
>> >
>> >
>> >
>> > --
>> >
>> > Chuck Hast  -- KP4DJT --
>> > I can do all things through Christ which strengtheneth me.
>> > Ph 4:13 KJV
>> > Todo lo puedo en Cristo que me fortalece.
>> > Fil 4:13 RVR1960
>> > _______________________________________________
>> > PLUG mailing list
>> > PLUG at pdxlinux.org
>> > http://lists.pdxlinux.org/mailman/listinfo/plug
>> >
>> _______________________________________________
>> PLUG mailing list
>> PLUG at pdxlinux.org
>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>
>
>
>
> --
>
> Chuck Hast  -- KP4DJT --
> I can do all things through Christ which strengtheneth me.
> Ph 4:13 KJV
> Todo lo puedo en Cristo que me fortalece.
> Fil 4:13 RVR1960
>
>


-- 

Chuck Hast  -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960



More information about the PLUG mailing list