[ale] usbdevfs confusion

Jerald Sheets jsheets at yahoo.com
Sun Nov 14 15:39:47 EST 2004


mkdir /mnt/flash

mont -t <fstype> /dev/sda1 /mnt/flash

Substitute your fstype, and if you already have scsi devices, use the 
next available.  (I don't, so I use /dev/sda1)

Hope that helps.

--Jerald



On Nov 14, 2004, at 2:50 PM, Christopher Bergeron wrote:

> Can anyone help me figure out usbdevfs?  I'm trying to access a USB 
> serial device using it, however, I'm not sure how I attach to it.
>
> The device is listed as 004 when I run  "lsusb".  When I look in 
> /proc/bus/usb/001/  I see the device listed as: 004.  However, when I 
> try to open the device from my program:  programname -d 
> /proc/bus/usb/001/004, it doesn't work.
>
> I also tried creating a node in /dev for "ttyUSB0" (using mknod c 188 
> 0), and that doesn't work either.
>
> Is usbdevfs not meant to be accessed as a file device like /dev is?
>
> Can anyone shed any light on this for me?  I'm pretty confused here.
>
> Thanks!
> -CB
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>



More information about the Ale mailing list