Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re:Linux driver

Re:Linux driver

From: Chris Muth <muthchris_at_quantumsingularity.cc>
Date: Mon, 20 Jan 2003 17:28:38 -0600

Hey,

It depends on what you mean by "hotplug".

If you unmount the jukebox, it will then be safe to unplug the usb.
plug -> mount -> [do whatever] -> unmount -> unplug -> {return to step one if desired}

BTW; the AJB[R] works well with Knoppix <http://knopper.net/knoppix/index-en.html>

-Chris Muth

Original message from: peter_at_cogweb.net
>Greetings --
>
>I just discovered you guys -- great work! Before I can install it on my Jukebox
>Recorder 20, however, I have to get the Linux driver to work. I got it working in my
>previous Linux installation, but for some reason it's not coming through this time.
>When I issue the mount command I get,
>
>mount: /dev/sda1 is not a valid block device
>
>lsusb gives some error messages:
>cannot get string descriptor 73, error = Broken pipe(32)
>cannot get string descriptor 90, error = Broken pipe(32)
>cannot get string descriptor 110, error = Broken pipe(32)
>
>Details below -- let me know if you need more. I'd really appreciate your help
>diagnosing the problem.
>
>Incidentally, will I be able to hotplug it once I get rockbox going?
>
>Cheers,
>Peter
>
>Here's dmsg - can anybody tell from this if I'm missing a driver?
>
>SCSI subsystem driver Revision: 1.00
>Initializing USB Mass Storage driver...
>usb.c: registered new driver usb-storage
>scsi0 : SCSI emulation for USB Mass Storage devices
> Vendor: HITACHI_ Model: DK23DA-20 Rev: 00J2
> Type: Direct-Access ANSI SCSI revision: 02
>WARNING: USB Mass Storage data integrity not assured
>USB Mass Storage device found at 2
>USB Mass Storage support registered.
>
>/etc/fstab has --
>
>/dev/sda1 /mnt/archos vfat defaults,noauto 0 0
>
>lsmod lists --
>
>sr_mod 14328 0 (unused)
>usb-storage 57524 0 (unused)
>scsi_mod 56884 3 [ide-scsi sr_mod usb-storage]
>
>The kernel (Debian's latest version (5) of Linux 2.4.20) has --
>
>CONFIG_SCSI=m
>CONFIG_BLK_DEV_SR=m
>CONFIG_USB_EHCI_HCD=y
>CONFIG_USB_STORAGE=m
>CONFIG_USB_STORAGE_ISD200=y
>
>lsusb has --
>
>Bus 001 Device 001: ID 0000:0000 Virtual Hub
>Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 2.00
> bDeviceClass 9 Hub
> bDeviceSubClass 0
> bDeviceProtocol 1
> bMaxPacketSize0 8
> idVendor 0x0000 Virtual
> idProduct 0x0000 Hub
> bcdDevice 2.04
> iManufacturer 3 Linux 2.4.20 ehci-hcd
> iProduct 2 VIA Technologies, Inc. USB 2.0
> iSerial 1 00:0b.2
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 25
> bNumInterfaces 1
> bConfigurationValue 1
> iConfiguration 0
> bmAttributes 0x40
> Self Powered
> MaxPower 0mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 1
> bInterfaceClass 9 Hub
> bInterfaceSubClass 0
> bInterfaceProtocol 0
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x81 EP 1 IN
> bmAttributes 3
> Transfer Type Interrupt
> Synch Type none
> wMaxPacketSize 2
> bInterval 12
> Language IDs: (length=4)
> 0000 (null)((null))
>
>Bus 001 Device 002: ID 05ab:0060 In-System Design
>cannot get string descriptor 73, error = Broken pipe(32)
>cannot get string descriptor 90, error = Broken pipe(32)
>cannot get string descriptor 110, error = Broken pipe(32)
>Device Descriptor:
> bLength 18
> bDescriptorType 1
> bcdUSB 2.00
> bDeviceClass 0 Interface
> bDeviceSubClass 0
> bDeviceProtocol 0
> bMaxPacketSize0 64
> idVendor 0x05ab In-System Design
> idProduct 0x0060
> bcdDevice 11.01
> iManufacturer 73
> iProduct 90
> iSerial 110
> bNumConfigurations 1
> Configuration Descriptor:
> bLength 9
> bDescriptorType 2
> wTotalLength 39
> bNumInterfaces 1
> bConfigurationValue 2
> iConfiguration 0
> bmAttributes 0xc0
> Self Powered
> MaxPower 98mA
> Interface Descriptor:
> bLength 9
> bDescriptorType 4
> bInterfaceNumber 0
> bAlternateSetting 0
> bNumEndpoints 3
> bInterfaceClass 8 Mass Storage
> bInterfaceSubClass 6 SCSI
> bInterfaceProtocol 80 Bulk (Zip)
> iInterface 0
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x01 EP 1 OUT
> bmAttributes 2
> Transfer Type Bulk
> Synch Type none
> wMaxPacketSize 512
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x82 EP 2 IN
> bmAttributes 2
> Transfer Type Bulk
> Synch Type none
> wMaxPacketSize 512
> bInterval 1
> Endpoint Descriptor:
> bLength 7
> bDescriptorType 5
> bEndpointAddress 0x83 EP 3 IN
> bmAttributes 3
> Transfer Type Interrupt
> Synch Type none
> wMaxPacketSize 2
> bInterval 9
> Language IDs: (length=4)
> 0409 English(US)
>
>
Received on 2003-01-21

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy