On 11/14/05, Daniel Drake <[EMAIL PROTECTED]> wrote:
> Javier-Elias Vasquez-Vivas wrote:
> > 1.-  Does the last patch still apply for 2.6.14 kernel and beyond?
>
> That one was merged for 2.6.14.
>
> Apply these patches on 2.6.14 and everything should work for everyone (famous
> last words...again)
>
> http://tinyurl.com/c3npq
> http://marc.theaimsgroup.com/?l=linux-usb-devel&m=113181799113598&q=raw
>
> Daniel


Thanks,

I think my problem is with udev.  In my case originally hp-8200 is
recognized but assigned by udev to /dev/sda, but I can't even mount it
for reading cd's:

# mount -t iso9660 /dev/sda /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

So I tried with udev rules...  1st one:

BUS=="usb", SYSFS{product}=="HP USB CD-Writer Plus", NAME="sr0",
SYMLINK="scd0", GROUP="disk"

With this rule I get /dev/sr0 and /dev/scd0.  However it doesn't work either:

# mount -t iso9660 /dev/scd0 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
       missing codepage or other error
       (aren't you trying to mount an extended partition,
       instead of some logical partition inside?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

I finally tried:

BUS=="usb", SYSFS{product}=="HP USB CD-Writer Plus", NAME="sg0",
SYMLINK="scd0", GROUP="disk"

And then I get /dev/sg0 and /dev/scd0, but again it doesn't work:

# mount -t iso9660 /dev/scd0 /mnt/
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
       missing codepage or other error
       (aren't you trying to mount an extended partition,
       instead of some logical partition inside?)
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

In any case I get with dmesg:

attempt to access beyond end of device
sda: rw=0, want=66, limit=1
isofs_fill_super: bread failed, dev=sda, iso_blknum=16, block=32

I'm kind of confused.  With kernel 2.6.14, whether with or without the
new patches indicated in previous mail by Daniel.  Any ways, it was
said the main patches were already merged with 2.6.14...  So I believe
this might be an udev problem.  Can anyone confirm?  How was it solved
by others?  The udev version I'm using is 0.076-2 under debian, which
purges hotplug...

Any hints are welcome, :)

Thanks a lot,


--
Javier-Elias Vasquez-Vivas


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to